﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/TriviaDal" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/TriviaDal" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfQuestionCalss">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="QuestionCalss" nillable="true" type="tns:QuestionCalss" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfQuestionCalss" nillable="true" type="tns:ArrayOfQuestionCalss" />
  <xs:complexType name="QuestionCalss">
    <xs:sequence>
      <xs:element minOccurs="0" name="Clue" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DificultyId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="QuestionString" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TypeId" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="QuestionCalss" nillable="true" type="tns:QuestionCalss" />
  <xs:complexType name="ArrayOfAnswerCalss">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AnswerCalss" nillable="true" type="tns:AnswerCalss" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAnswerCalss" nillable="true" type="tns:ArrayOfAnswerCalss" />
  <xs:complexType name="AnswerCalss">
    <xs:sequence>
      <xs:element minOccurs="0" name="AnswerString" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="IsRightAnswer" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="QuestionId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AnswerCalss" nillable="true" type="tns:AnswerCalss" />
  <xs:complexType name="ArrayOfUserClass">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="UserClass" nillable="true" type="tns:UserClass" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUserClass" nillable="true" type="tns:ArrayOfUserClass" />
  <xs:complexType name="UserClass">
    <xs:sequence>
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="score" nillable="true" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserClass" nillable="true" type="tns:UserClass" />
</xs:schema>